package com.baosight.sczx.common.zm.cInterface.cm;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import com.baosight.iplat4j.core.spring.SpringApplicationContext;
import com.baosight.iplat4j.dao.Dao;

/**
 * <p>Title: MaterialRation.java（费用额度）</p>
 * <p>Description: </p>
 * <p>Copyright: Baosight Software LTD.co Copyright (c) 2002</p>
 * <p>Company: Baosight Software</p>
 * @author 张坤
 * @version 1.0
 * <pre>Histroy:
 *          2011-6-27 12:31:30  张坤  Create
 *</pre>
 */
public class MaterialRation {
	private static Dao dao = (Dao)SpringApplicationContext.getBean("dao");
	
	/**
	 * 得到部门费用剩余额度
	 * <p>Function: getDepotInfo</p>
	 * <p>Description: </p>
	 * <p>param IFUsing 使用状态</p>
	 * <p>return value:List<Map></p>
	 * <p>throws Exception:</p>
	 * <p>History:
	 *    2011-6-27 12:34:13 张坤 create
	 * </p>
	 *
	 */
	@SuppressWarnings({ "rawtypes", "unchecked" })
	public static List<Map> getMaterialRation(String sqlName , Map<String, String> params){
		List<Map> _list = new ArrayList<Map>();
		try {
			_list = dao.query("ZMCMMaterialRation.lessMoney", params);
		} catch (Exception e) {
			return _list;
		}
		return _list;
	}

}



















